package com.j283_5.wisdom_park.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author laoda
 * @since 2022-04-28
 */
public class WarningDetailed implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 预警详细id
     */
    @TableId(value = "wdet_id", type = IdType.AUTO)
    private Integer wdetId;

    /**
     * 预警等级（0：初级，1：中级，2：高级）
     */
    private Integer wdetState;

    /**
     * 预警阈值
     */
    private String wdetContent;

    /**
     * 设备信息id
     */
    private Integer dinfId;


    public Integer getWdetId() {
        return wdetId;
    }

    public void setWdetId(Integer wdetId) {
        this.wdetId = wdetId;
    }

    public Integer getWdetState() {
        return wdetState;
    }

    public void setWdetState(Integer wdetState) {
        this.wdetState = wdetState;
    }

    public String getWdetContent() {
        return wdetContent;
    }

    public void setWdetContent(String wdetContent) {
        this.wdetContent = wdetContent;
    }

    public Integer getDinfId() {
        return dinfId;
    }

    public void setDinfId(Integer dinfId) {
        this.dinfId = dinfId;
    }

    @Override
    public String toString() {
        return "WarningDetailed{" +
        "wdetId=" + wdetId +
        ", wdetState=" + wdetState +
        ", wdetContent=" + wdetContent +
        ", dinfId=" + dinfId +
        "}";
    }
}
